<template>
  <nav-bar class="shop-detail-nav-bar">
    <div slot="left" class="left" @click="handleSkipShop">
      <div class="arrow"></div>
    </div>
    <div slot="center" class="center">
      商家详情
    </div>
  </nav-bar>
</template>

<script>
import NavBar from 'components/common/navbar/NavBar'
export default {
  components: {
    NavBar
  },
  methods: {
    handleSkipShop() {
      this.$router.go(-1)
    }
  }
}

</script>
<style lang="less" scoped>
.shop-detail-nav-bar {
  background-color: #3190e8;
  .left {
    .arrow {
      width: 12px;
      height: 12px;
      border-top: 2px solid #ffffff;
      border-left: 2px solid #ffffff;
      margin-left: 10px;
      transform: rotate(-45deg);
    }
  }
  .center {
    font-weight: bold;
    font-size: 18px;
    color: #fff;
  }
}
</style>